package cn.zhfeat.core.base;

import java.io.Serializable;

/**
 * @description: 返回状态和提示信息视图
 *
 * @author ZhangHao
 * @date 2018年5月7日 下午8:01:32 
 * @version 1.0.0.1
 */
public class BaseResultModel implements Serializable{

	private static final long serialVersionUID = 1L;
	
	/**	返回状态码*/
	private String  status;
	
	/**	返回提示信息*/
	private String  message;
	
	private Object data;
	
	private int totalCount;
	
	

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "BaseResultModel [status=" + status + ", message=" + message + ", data=" + data + "]";
	}

}
